class CourseDetail {
   String couCover;
   String couIntro;
   String couName;
   String couObj;
   int couPri;
   String teaIntr;

   CourseDetail(
       {this.couCover,
          this.couIntro,
          this.couName,
          this.couObj,
          this.couPri,
          this.teaIntr});

   CourseDetail.fromJson(Map<String, dynamic> json) {
      couCover = json['couCover'];
      couIntro = json['couIntro'];
      couName = json['couName'];
      couObj = json['couObj'];
      couPri = json['couPri'];
      teaIntr = json['teaIntr'];
   }

   Map<String, dynamic> toJson() {
      final Map<String, dynamic> data = new Map<String, dynamic>();
      data['couCover'] = this.couCover;
      data['couIntro'] = this.couIntro;
      data['couName'] = this.couName;
      data['couObj'] = this.couObj;
      data['couPri'] = this.couPri;
      data['teaIntr'] = this.teaIntr;
      return data;
   }
}
